package com.googlecode.horncomb.organ.support;

import java.util.Date;

/**
 * @author Daniel
 */
public interface OrganObject extends CategoryObject {
	public static final String STATE_ACTIVE = "ACTIVE";
	public static final String STATE_INVAILD = "INVALID";
	public static final String STATE_DELELTED = "DELTEDED";

	/**
	 * @return 得到对象当前的状态：可能是活动、无效、删除等
	 */
	public String getState();

	public void setState(String state);

	/**
	 * @return 返回对象创建的时间
	 */
	public Date getCreated();

	public void setCreated(Date created);

	/**
	 * @return 返回对象最后被修改时间
	 */
	public Date getLastUpdated();

	public void setLastUpdated(Date updated);
}
